package cn.software.entity.vo;

import java.util.Objects;

public class studentVo {
    private Integer id;

    private String name;

    private String username;

    private String telNumber;

    private String gender;

    public studentVo() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getTelNumber() {
        return telNumber;
    }

    public void setTelNumber(String telNumber) {
        this.telNumber = telNumber;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        studentVo studentVo = (studentVo) o;
        return Objects.equals(id, studentVo.id) && Objects.equals(name, studentVo.name) && Objects.equals(username, studentVo.username) && Objects.equals(telNumber, studentVo.telNumber) && Objects.equals(gender, studentVo.gender);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, name, username, telNumber, gender);
    }

    @Override
    public String toString() {
        return "studentVo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", username='" + username + '\'' +
                ", telNumber='" + telNumber + '\'' +
                ", gender='" + gender + '\'' +
                '}';
    }
}
